package com.wanmait.deliverymangementsystem.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.deliverymangementsystem.pojo.Tasks;

public interface TaskService {
     void createTask(Tasks tasks);
    Integer findLastID();
    Tasks findByID(Integer id);

    void accept(Tasks tasks);
    PageInfo<Tasks> runnerFindMyOrders(Integer page,Integer id);
    void cancelTask(Integer id);

    void complete(Integer id);

}
